package com.company.cloud.user.modules.api.fallback;

import com.company.cloud.user.modules.api.service.ThirdUserRemoteService;
import feign.hystrix.FallbackFactory;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;

@Log4j2
@Component
public class ThirdUserRemoteServiceFallbackFactory implements FallbackFactory<ThirdUserRemoteService>{
	
	@Override
	public ThirdUserRemoteService create(Throwable cause) {
		return new ThirdUserRemoteService() {

		};
	}

}
